========================================
GANG POLICE TENSION SYSTEM
WHAT’S NEW
========================================

VERSION UPDATE SUMMARY
----------------------------------------
This update improves stability, fixes SHVDN3 API warnings,
and expands gang behavior systems.

----------------------------------------
NEW FEATURES
----------------------------------------

• Dynamic Gang Spawning System
  - Gangs now spawn near the player every few seconds
  - Spawn limit added to prevent performance issues

• Drug Deal System (Ambient)
  - Gang members can now perform drug deal interactions
  - Includes look-at behavior and idle negotiation moments

• Escalation Combat System
  - 1.2% chance for gang members to initiate combat
  - Can target nearby police or player

• Police Interaction Improvements
  - Detects nearby law enforcement units
  - Gang members can engage cops in combat scenarios

----------------------------------------
FIXES / IMPROVEMENTS
----------------------------------------

• Updated SHVDN3 compatibility
  - Replaced deprecated TaskInvoker methods:
    - WanderAround() → Wander()
    - FightAgainst() → Combat()

• Improved stability
  - Added null checks for all ped entities
  - Prevented crashes from invalid or dead peds

• Optimized tick performance
  - Reduced script overhead with controlled spawn timer
  - Limited nearby ped scanning range

----------------------------------------
STABILITY NOTES
----------------------------------------

• Script is now safer during:
  - Player death
  - Ped streaming
  - World loading transitions

• Reduced risk of crashes caused by:
  - Invalid ped references
  - Overloaded AI tasks
  - Rapid Tick execution loops

----------------------------------------
END OF FILE
========================================